@/*
    id : input框id
    title: title
    gray:true
    keywords:false
    tool:工具栏id
@*/
@if(isEmpty(gray)||gray=="true"){
@	gray = true;
@}else{
@	gray = false;
@}
@if(isEmpty(keywords)||keywords=="false"){
@	keywords = false;
@}else{
@	keywords = true;
@	gray = false;
@}
@if(isEmpty(id)){
@	id= "id_"+tool.getRandomString(8);
@}
@var isBrand = false;
@if(isNotEmpty(title)){
@	isBrand=true;
@}
@var toolID="";
@if(isNotEmpty(tool)){
@	toolID=tool;
@}
<div id="${id!}" class="hisui-tabs ${gray?"tabs-gray":""} ${keywords?"tabs-keywords":""}" data-options="isBrandTabs:${isBrand},tools:'#${toolID}'">   
@if(isBrand){
	<div title="${title!}" data-options="iconCls:'icon-add-note'" style="padding:20px;"></div>
@}
	${tagBody!}
</div>
<style>
#${id!} .tabs-panels{
    position: absolute;
    top: 37px;
    left: 0;
    right: 0;
    bottom: 0;
}
#${id!} .tabs-panels .panel{
    height:100%;
    overflow-y: auto;
}
</style>